<?php 
    $new_orders = !empty($this->new_orders)?$this->new_orders:null;
    $id_store   = !empty($this->id_store)?$this->id_store:null;
?>
<a class="underline <?php echo $this->isActiveUrl(array('controller' => 'store'))?'active':''?>"
   href="<?php echo $this->url(array('controller'=>'store','action' => 'edit', 'id' => $id_store, 'id_store' => null, 'back_link' => base64_encode(urlencode($this->url(array('controller' => 'product', 'action' => 'list', 'id_store' => $id_store, 'id' => null)))))); ?>"
>
	<?php echo $this->translate('STORE_SETTING_LABEL') ?>
</a>
|
<a class="underline <?php echo $this->isActiveUrl(array('controller' => 'product'))?'active':''?>"
   href="<?php echo $this->url(array('controller'=>'product','action' => 'list','id' => NULL, 'id_store' => $id_store)); ?>"
>
	<?php echo $this->translate('MANAGE_PRODUCT_LABEL') ?>
</a>
|
<a class="underline <?php echo $this->isActiveUrl(array('controller' => 'category'))?'active':''?>"
   href="<?php echo $this->url(array('controller'=>'category','action' => 'index', 'id' => NULL, 'id_store' => $id_store)); ?>"
>
	<?php echo $this->translate('MANAGE_CATEGORY_LABEL') ?>
</a>
|
<a class="underline <?php echo $this->isActiveUrl(array('controller' => 'cart'))?'active':''?>"
   href="<?php echo $this->url(array('controller'=>'cart','action' => 'list', 'id' => NULL, 'id_store' => $id_store)); ?>"
>
	<?php echo $this->translate('MANAGE_ORDERS_LABEL') ?>
    <?php if(!empty($new_orders)):?>
        <span class="new_orders">
            (<?php echo $new_orders;?>)
        </span>
    <?php endif;?>
</a>